using CfgTable;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay
{
    public class ViewObjTriggerActionComponent : MonoBehaviour
    {
        public Bounds triggerRange;
        public SceneObjectTriggerActionType actionType;
        public bool restoreOnFarAway = false;

#if UNITY_EDITOR
        private void OnDrawGizmosSelected()
        {
            Gizmos.color = Color.yellow;
            Gizmos.DrawWireCube(transform.position + triggerRange.center, triggerRange.size);
        }
#endif
    }
}
